import { DefaultStage } from '../default-stage';
import { GradientSkybox } from 'babylon-lib/preset/gradient-skybox';

class Sky {

    private static _stage: DefaultStage;

    public static initialize(stage: DefaultStage): void {
        this._stage = stage;
        this.initializeGradientSky();
    }

    private static initializeGradientSky(): void {
        const gs = new GradientSkybox('gradientSkybox', this._stage.mainScene, {
            colors: ['#000000', '#00375c', '#52baff'],
            values: [0, 0.6, 0.8],
            size:1000,
        });
    }

}


export { Sky };